package com.cetc39.service.impl;

import java.util.List;

import com.cetc39.bean.SubLifecycleLei;
import com.cetc39.dao.SubLifecycleLeiDao;
import com.cetc39.service.SubLifecycleLeiService;

public class SubLifecycleLeiServiceImpl implements SubLifecycleLeiService {
	
	private SubLifecycleLeiDao sublifecycleleiDao;
	
	@Override
	public void save(SubLifecycleLei s) {
		sublifecycleleiDao.save(s);
	}

	@Override
	public void delete(int id) {
		sublifecycleleiDao.delete(id);
	}

	@Override
	public void update(SubLifecycleLei s) {
		sublifecycleleiDao.update(s);
	}

	@Override
	public List<?> findAll() {
		return sublifecycleleiDao.findAll();
	}

	@Override
	public SubLifecycleLei findById(int id) {
		return sublifecycleleiDao.findById(id);
	}

	@Override
	public List<?> findByProjectId(int id) {
		return sublifecycleleiDao.findByProjectId(id);
	}

	public void setSublifecycleleiDao(SubLifecycleLeiDao sublifecycleleiDao) {
		this.sublifecycleleiDao = sublifecycleleiDao;
	}



}
